<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <script>
       /* var a="123.5";
        alert(parseInt(a));*/
       function parseInt(str, radix) {
           return str+'-'+radix;
       };
       var a=["1", "2", "3", "4","5",6,7,8,9,10,11,12,13,14,15];
       console.log(a.map(parseInt));

    </script>
</body>
</html>